From: Joonas Henriksson Date: Wed, 26 Aug 2020 00:06:46 +0000 (+0300) Subject: unlockDialog: Use unique unlock-dialog style class X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~799 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9963f7ce845362c59dac953a71fbac98f447c13d;p=gnome-shell.git unlockDialog: Use unique unlock-dialog style class Allows styling the unlock dialog elements individually from the GDM login dialog. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1421 --- diff --git a/data/theme/gnome-shell-sass/widgets/_login-dialog.scss b/data/theme/gnome-shell-sass/widgets/_login-dialog.scss index 06fdcf25a..6c40072c4 100644 --- a/data/theme/gnome-shell-sass/widgets/_login-dialog.scss +++ b/data/theme/gnome-shell-sass/widgets/_login-dialog.scss @@ -5,7 +5,8 @@ max-width: 23em; } -.login-dialog { +.login-dialog, +.unlock-dialog { //reset border: none; background-color: transparent; diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index 4f461f398..974600ae5 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -475,7 +475,7 @@ var UnlockDialog = GObject.registerClass({ _init(parentActor) { super._init({ accessible_role: Atk.Role.WINDOW, - style_class: 'login-dialog', + style_class: 'unlock-dialog', visible: false, reactive: true, });